package com.jvm.gc;

/**
 * @Author RJA
 * @Date 2020/4/10 16:59
 * @Description
 */
public class MyTest5 {
    public static void main(String[] args) {
        int size = 1024 * 1024;

        byte[] myAllocl1 = new byte[4 * size];
        System.out.println("1111111");
        byte[] myAllocl2 = new byte[4 * size];
        System.out.println("2222222");
        byte[] myAllocl3 = new byte[4 * size];
        System.out.println("3333333");
        byte[] myAllocl4 = new byte[2 * size];
        System.out.println("4444444");
    }
}
